/*
 * QueryDiscountResponse.java
 * business
 *
 * Created by ChenTao on 2016/10/19.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/** 发现页-优惠活动列表 */
public class QueryDiscountResponse extends PagerResponse {

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        @SerializedName("discount")
        private List<Discount> discount;

        public List<Discount> getDiscount() {
            return discount;
        }

        public void setDiscount(List<Discount> discount) {
            this.discount = discount;
        }
    }

    public static class Discount {

        @SerializedName("name")
        private String name;

        @SerializedName("url")
        private String url;

        @SerializedName("image")
        private String image;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }
    }
}
